.sc-dialog-box,
.sc-dialog-box-child{
    display: none;
    position: fixed;
    border: 1px solid #bbb;
    border-radius: 4px;
    min-width: 100px;
    min-height: 60px;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,.175);
    overflow: visible;
    z-index: 1000;
}

.sc-dialog-box-child{
    z-index: 1001;
}

.sc-dialog-box.active,
.sc-dialog-box-child.active{
    display: flex;
    flex-direction: column;
    user-select: none;
}

.sc-dialog-box>.sc-dialog-head,
.sc-dialog-box-child>.sc-dialog-head{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 30px;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #fff;
    cursor: move;
}

.sc-dialog-box>.sc-dialog-body,
.sc-dialog-box-child>.sc-dialog-body{
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
}

.sc-dialog-box>.sc-dialog-foot,
.sc-dialog-box-child>.sc-dialog-foot{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 38px;
    border-top: 1px solid #ddd;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: #f9f9f9;
}

.sc-dialog-box .sc-dialog-titlebar,
.sc-dialog-box-child .sc-dialog-titlebar{
    display: block;
    width: 60%;
    height: 100%;
    padding: 0px 10px;
    font-size: 13px;
    line-height: 2.4;
}

.sc-dialog-box .sc-dialog-controlbar,
.sc-dialog-box-child .sc-dialog-controlbar{
    display: flex;
    flex-direction: row-reverse;
    width: 40%;
}

.sc-dialog-box .sc-dialog-controlbar-button,
.sc-dialog-box-child .sc-dialog-controlbar-button{
    display: block;
    width: 30px;
    height: 100%;
    line-height: 1.8;
    font-size: 18px;
    font-family: 宋体;
    text-align: center;
    cursor: default;
}

.sc-dialog-box .sc-dialog-controlbar-button:hover,
.sc-dialog-box-child .sc-dialog-controlbar-button:hover{
    background-color: red;
    color: #fff;
}

.sc-dialog-button{
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #303133;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    padding: 6px 16px 5px 16px;
    font-size: 12px;
    border-radius: 4px;
    margin: 0px 4px;
}

.sc-dialog-button:hover{
    border: 1px solid #409eff;
}

.sc-dialog-box>.sc-dialog-body input[type=text],
.sc-dialog-box-child>.sc-dialog-body input[type=text]{
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 4px 8px;
}

.sc-dialog-box>.sc-dialog-body input[type=text]:focus,
.sc-dialog-box-child>.sc-dialog-body input[type=text]:focus{
    border: 1px solid #409eff;
}

.sc-dialog-box>.sc-dialog-body textarea,
.sc-dialog-box-child>.sc-dialog-body textarea{
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 4px 8px;
}

.sc-dialog-box>.sc-dialog-body textarea:focus,
.sc-dialog-box-child>.sc-dialog-body textarea:focus{
    border: 1px solid #409eff;
}

.sc-dialog-box .sc-dialog-error{
    font-size: 12px;
    font-weight: normal;
    font-family: 宋体;
    color: red;
    padding: 0px 15px 5px 15px;
    text-align: right;
}